# -*- coding: utf-8 -*-
"""
Created on Mon Oct  9 08:30:23 2017

@author: Luther
"""

str = 'I like Python very much 2333 because Python is very cute 666.'

num_list = [x for x in str if x.isdigit()]
print(len(num_list))

word_list = [x for x in str.split(' ') if x[0].isalpha()]
print(len(word_list))

str = str.replace('Python', 'PaPaPa', 1)
print(str)
